package com.guguju.ssms.core.http;

import java.io.Serializable;

/**
 * Created by dell on 2022-5-14.
 */
public class SimpleResponse implements Serializable {
    private static final long serialVersionUID = 4582161592726892224L;

    public int code;
    public String msg;

    public BaseResponse toBaseResponse() {
        BaseResponse baseResponse = new BaseResponse();
        baseResponse.code = code;
        baseResponse.msg = msg;
        return baseResponse;
    }
}
